package com.ledi.pay.exception;

public class AppCheckException extends RuntimeException {

	private static final long	serialVersionUID	= 5567111365902190842L;

	private String				code;

	private String				message;

	private Object[]			param;

	public AppCheckException(String code, String message, Object... params) {

		super(message);
		this.code = code;
		this.message = message;
		param = params;
	}

	public String getCode() {

		return code;
	}

	public void setCode(String code) {

		this.code = code;
	}

	@Override
	public String getMessage() {

		return message;
	}

	public void setMessage(String message) {

		this.message = message;
	}

	public Object[] getParam() {

		return param;
	}

	public void setParam(Object[] param) {

		this.param = param;
	}

}
